package com.panghl.service;

import com.panghl.entity.RefundInfo;
import com.baomidou.mybatisplus.extension.service.IService;

public interface RefundInfoService extends IService<RefundInfo> {

    /**
     * 根据订单编号创建退款单
     * @param orderNo
     * @param reason
     * @return
     */
    RefundInfo createRefundByOrderNo(String orderNo,String reason);

    /**
     * 更新退款单
     * @param content
     */
    void updateRefund(String content);


    RefundInfo createRefundByOrderNoForAliPay(String orderNo, String reason);

    public void updateRefundForAliPay(String refundNo, String content, String refundStatus);
}
